home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
lcppb.zip
/
LCPPANS.ZIP
/
TOUPPER.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-08
|
417b
|
22 lines
// toupper.cpp -- Convert standard input to uppercase
#include <iostream.h>
#include <stdio.h>
#include <ctype.h>
main()
{
char c;
while ((c = getchar()) != EOF)
putchar(toupper(c));
}
// Copyright (c) 1990 by Tom Swan. All rights reserved
// Revision 1.00 Date: 10/24/1990 Time: 08:32 am
// Revision 1.01 Date: 07/08/1991 Time: 05:41 pm
// Converted for Borland C++ 2.0